<template>
  <div class="goods">
    <PageCountent :contentTableConfig="contentTableConfig" pageName="goods">
      <template #imgSlot="{ row }">
        <el-image
          style="height: 80px"
          :src="row.imgUrl"
          :preview-src-list="[row.imgUrl]"
          preview-teleported
        >
        </el-image>
      </template>
    </PageCountent>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import PageCountent from '@/components/page-content'

import { contentTableConfig } from './config/content.config'

export default defineComponent({
  name: 'goods',
  components: { PageCountent },
  setup() {
    return { contentTableConfig }
  }
})
</script>

<style scoped></style>
